SftTree/NET 2.0

EditSetup Event, SftTree Class

Softel vdm, Inc.

Occurs when a cell is about to be edited and a control must be positioned over the cell for editing purposes.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Event EditSetup As EditSetupEventHandler

C#   

public event EditSetupEventHandler EditSetup;

C++   

public: event EditSetupEventHandler EditSetup;

Event Data

The EditSetup event handler receives an argument of type EditSetupEventArgs containing data related to this event.

Comments

The EditSetup event occurs when a cell is about to be edited and a control must be positioned over the cell for editing purposes.

This event makes a control available for cell editing. The control's display attributes and contents must be fully initialized by this event and additional final customizations can be performed. For example, when a combo box is used, this event can drop down the dropdown portion of the combo box control.

Once the control is positioned, visible and enabled and the EditSetup event ends, cell editing has started. The control's event handlers such as KeyDown and KeyPress can be used to implement cell navigation using the EditNavigate method.

The EditSetup event should not be used to otherwise manipulate or update the tree control in any way.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com